#include<cstdio>
#include<iostream>

using namespace std;

int main()
{
    int a, arr[7] = { 100,50,20,10,5,2,1 };
    cin >> a;
    int i = 0;
    cout << a << endl;
    for (i = 0; i < 7; i++)
    {
        printf("%d nota(s) de R$ %d,00\n", a / arr[i], arr[i]);
        a %= arr[i];
    }
    return 0;
}